import React from 'react'
import './AdvertisingList.css'

 import {Layout,Menu} from 'antd'
 import {NavLink} from 'react-router-dom'

 const  {Content,Header} = Layout;

class  AdvertisingList  extends React.Component{
         
    render(){
        return(
            <Layout>
              <Header style={{height:'auto'}}>
                <h1 className='title'>广告列表</h1>
               <Menu 
               className='nav'
               mode='horizontal'
               style={{background:'transparent'}}
               >
                 <Menu.Item key='1'>
                     <NavLink to='/Home/wangZhan/AdvertisingList/AdvertisingListTabel'>广告管理</NavLink>
                     </Menu.Item>   
                     <Menu.Item key='2'>
                     <NavLink to='/Home/wangZhan/AdvertisingList/AddAD'>添加广告</NavLink>
                     </Menu.Item>        
               </Menu>
              </Header>
              <Content>
                {this.props.children}
              </Content>
            </Layout>
        )
    }

}

export default  AdvertisingList